home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Sample Code / Snippets / Development Tools & Languages / MouseInfo 1.0.1 / UAppFrameAdorner.h < prev    next >
Encoding:
Text File  |  1992-07-15  |  719 b   |  32 lines  |  [TEXT/MPS ]

  1. //     Copyright © 1992 Apple Computer, Inc. All rights reserved.
  2. //     UAppFrameAdorner.h
  3. //    Kent Sandvik DTS
  4. //    This file contains the TAppFrameAdorner class, the simple frame 
  5. //    adornment in the window
  6. //    Version Info (latest first):
  7. //
  8. //    <1>        khs        1.0        First final version
  9. //    <2>        khs        1.0.1    Fixed a memory leak in TMapApplication::GetSleepValue()
  10.  
  11.  
  12. #ifndef __APPFRAMEADORNER__
  13. #define __APPFRAMEADORNER__
  14.  
  15. #ifndef __UADORNERS__
  16. #include <UAdorners.h>
  17. #endif
  18.  
  19. // a simple adorner, that just draws a nice frame inside the document itself
  20. class TAppFrameAdorner : public TAdorner
  21. {
  22. public:
  23.     TAppFrameAdorner();
  24.     virtual pascal void Draw(TView* itsView,
  25.                              const VRect&        /*area*/);
  26. };
  27.  
  28.  
  29.  
  30. #endif __APPFRAMEADORNER__
  31.  
  32.